import { forwardRef, Module } from '@nestjs/common';
import { MessageBoardService } from './message-board.service';
import { MessageBoardController } from './message-board.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MessageBoardEntity } from './entities/message-board.entity';
import { UserModule } from 'src/user/user.module';

@Module({
  imports: [TypeOrmModule.forFeature([MessageBoardEntity]), forwardRef(() => UserModule)],
  controllers: [MessageBoardController],
  providers: [MessageBoardService]
})
export class MessageBoardModule {}
